package com.glela.goods.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glela.goods.model.MarketingActivitiesDetail;

public interface MarketingActivitiesDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MarketingActivitiesDetail marketingActivitiesDetail);

    int insertSelective(MarketingActivitiesDetail marketingActivitiesDetail);

    MarketingActivitiesDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MarketingActivitiesDetail marketingActivitiesDetail);

    int updateByPrimaryKey(MarketingActivitiesDetail marketingActivitiesDetail);

	List<MarketingActivitiesDetail> selectByPid(@Param("pId") Integer pId);
}